package com.share.domain.MySql;

import com.baomidou.mybatisplus.annotation.TableField;

import com.share.common.core.web.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @TableName cabinet_slot
 */
@Schema(description = "柜机插槽表")
@Data
public class CabinetSlot extends BaseEntity {

    /**
     * 柜机id
     */
    @Schema(description = "柜机id")
    private Long cabinetId;

    /**
     * 插槽编号
     */
    @Schema(description = "插槽编号")
    private String slotNo;

    /**
     * 充电宝id
     */
    @Schema(description = "充电宝id")
    private Long powerBankId;

    /**
     * 状态（1：占用 0：空闲 2：锁定）
     */
    @Schema(description = "状态（1：占用 0：空闲 2：锁定）")
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @Schema(description = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @Schema(description = "充电宝")
    @TableField(exist = false)
    private PowerBank powerBank;
}